Package com.cisco.pt.ipc.sim
Interface AsaAccessGroupManager
- All Superinterfaces:
IPCObject
- All Known Implementing Classes:
AsaAccessGroupManagerImpl
Information provided by the PKI file:
\class CAsaAccessGroupManager
\brief CAsaAccessGroupManager is the asa object storage manager class that is used to store and retrieve asa object.
\example network().getDevice("Router0").getObjectManager()->getObjectByName("objectName")
- Author:
- Auto-generated
-
Method Summary
Modifier and TypeMethodDescriptionbooleanaddAccessGroup(Direction direction, String nameIf, String aclId) Information provided by the PKI file:booleandeleteAccessGroup(Direction direction, String nameIf, String aclId) Information provided by the PKI file:booleandeleteAccessGroupWithNameIf(String nameIf) Information provided by the PKI file:getAccessGroupAt(int index) Information provided by the PKI file:intInformation provided by the PKI file:Methods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession
-
Method Details
-
deleteAccessGroupWithNameIf
Information provided by the PKI file:
\brief delete the access-group that associates with the specified nameIf. \param nameIf, the nameIf of the interface that has access-list applied on.- Parameters:
nameIf- Takes in a parameter of nameIf- Returns:
- boolean Returns a boolean
-
deleteAccessGroup
Information provided by the PKI file:
\brief delete the access-group that associates with the specified nameIf, aclId and in a certain direction. \param direction, the traffic direction \param nameIf, nameIf of the interface that has the acl applied on \param aclId, acl id of the acl- Parameters:
direction- Takes in a parameter of directionnameIf- Takes in a parameter of nameIfaclId- Takes in a parameter of aclId- Returns:
- boolean Returns a boolean
-
addAccessGroup
Information provided by the PKI file:
\brief add a new access-group. \param direction, the traffic direction eIn =0, eOut, eGlobal \param nameIf, nameIf of the interface that has the acl applied on \param aclId, acl id of the acl. \return bool, value is true if the add was successful, false if not.- Parameters:
direction- Takes in a parameter of directionnameIf- Takes in a parameter of nameIfaclId- Takes in a parameter of aclId- Returns:
- boolean Returns a boolean
-
getAccessGroupAt
Information provided by the PKI file:
\brief Return the access-group at a specified index. \param index, index of the access group to get. Range (0, getAccessGroupCount()).- Parameters:
index- Takes in a parameter of index- Returns:
- AsaAccessGroup Returns a AsaAccessGroup
-
getAccessGroupCount
int getAccessGroupCount()Information provided by the PKI file:
\brief Return the number of access-group configured. \return int, value is how many access groups there are total.- Returns:
- int Returns a int
-